home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / ka9q / kit_src / scrn00a.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-03  |  2.0 KB  |  63 lines

  1. /*    (C) Copyright 1991 Dave Fritsche (wb8zxu), All Rights Reserved.
  2.  * 
  3.  *    Redistribution and use in source and binary forms are permitted for
  4.  *    non-commercial use, provided that the above copyright notice and this
  5.  *    paragraph are duplicated in all such forms.  THIS SOFTWARE IS PROVIDED
  6.  *    ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  7.  *    WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
  8.  *    FITNESS FOR A PARTICULAR PURPOSE.
  9.  */
  10. #include <stdio.h>
  11. #include "screen.h"
  12.  
  13. int scrn00a()
  14. {
  15. /* field 1 */
  16.     tx[0] = 30;    ty[0] = 12;    tsa[0] = 1;    tfa[0] = 0;
  17.     strcpy(title[0], "Install KA9Q's NOS (y/n)");
  18.     ix[0] = 56;    iy[0] = 12;    isa[0] = 7;    ifa[0] = 0;
  19.     strcpy(iif[0], "y");
  20.     strcpy(ift[0], "@");
  21.     strcpy(ifd[0], "y");
  22.     up[0] = 1;    dn[0] = 2;    l[0] = 1;    r[0] = 2;
  23.     rmask[0] = 127;
  24. /* field 2 */
  25.     tx[1] = 29;    ty[1] = 13;    tsa[1] = 1;    tfa[1] = 0;
  26.     strcpy(title[1], "Install G1EMM's NOS (y/n)");
  27.     ix[1] = 56;    iy[1] = 13;    isa[1] = 7;    ifa[1] = 0;
  28.     strcpy(iif[1], "n");
  29.     strcpy(ift[1], "@");
  30.     strcpy(ifd[1], "n");
  31.     up[1] = 1;    dn[1] = 3;    l[1] = 1;    r[1] = 3;
  32.     rmask[1] = 127;
  33. /* field 3 */
  34.     tx[2] = 25;    ty[2] = 14;    tsa[2] = 1;    tfa[2] = 0;
  35.     strcpy(title[2], "Install BM mail program (y/n)");
  36.     ix[2] = 56;    iy[2] = 14;    isa[2] = 7;    ifa[2] = 0;
  37.     strcpy(iif[2], "y");
  38.     strcpy(ift[2], "@");
  39.     strcpy(ifd[2], "y");
  40.     up[2] = 2;    dn[2] = 4;    l[2] = 2;    r[2] = 4;
  41.     rmask[2] = 127;
  42. /* field 4 */
  43.     tx[3] = 33;    ty[3] = 15;    tsa[3] = 1;    tfa[3] = 0;
  44.     strcpy(title[3], "Install NETNEWS (y/n)");
  45.     ix[3] = 56;    iy[3] = 15;    isa[3] = 7;    ifa[3] = 0;
  46.     strcpy(iif[3], "n");
  47.     strcpy(ift[3], "@");
  48.     strcpy(ifd[3], "n");
  49.     up[3] = 3;    dn[3] = 4;    l[3] = 3;    r[3] = 4;
  50.     rmask[3] = 127;
  51.  
  52.     nfields = 4;
  53.  
  54.     clrscr();
  55.     box(1, 1, 80, 24, 2);
  56.     addlin(1, 5, 80, 2);
  57.     addlin(1, 22, 80, 2);
  58.     puttxt(60, 1, 0, 0, TITLE);
  59.     puttxt(22, 3, 1, 0, "KA9Q (NOS) TCP/IP Software Installation");
  60.     puttxt(8, 23, 1, 0, "ESC = Quit, F1 = next screen,  = previous field,  = next field");
  61.     screen();
  62. }
  63.